{extend name="base/main" /}
{block name="body"}
    <div class="wrapper wrapper-content animated fadeInRight">
        <div class="ibox float-e-margins">
            <div class="ibox-title">
                <h5>分类管理 / 分类添加</h5>
            </div>
            <div class="ibox-content">
                <form id="f" action="{:url('Storeorder/toadd')}" class="form-horizontal m-t">

                    <div class="form-group">
                        <label class="col-sm-2 control-label">父级id</label>
                        <div class="col-sm-4">
                          <select name="pid" lay-filter="aihao">
                            <option value=""></option>
                            <option value="0">写作</option>
                          </select>
                        </div>
                    </div>

                    <div class="form-group">
                        <label class="col-sm-2 control-label">分类名称</label>
                        <div class="col-sm-4">
                            <input name="title" class="form-control" type="text" nullmsg="请输入分类名称" errormsg="">
                            <span class="help-block m-b-none Validform_checktip" ><i class="fa fa-info-circle"></i></span>
                        </div>
                    </div>

                    

                    <div class="form-group">
                        <label class="col-sm-2 control-label">分类简介：</label>
                        <div class="col-sm-4">
                          <textarea placeholder="请输入分类简介" name="intr" class="layui-textarea"></textarea>
                        </div>
                      </div>

                    <div class="form-group">
                        <label class="col-sm-2 control-label">排序：</label>
                        <div class="col-sm-4">
                            <input name="sort" class="form-control" type="text" nullmsg="0" errormsg="">
                            <span class="help-block m-b-none Validform_checktip" ></span>
                        </div>
                    </div>

                    <div class="form-group">
                        <label class="col-sm-2 control-label">单选框</label>
                        <div class="col-sm-4">
                          <input type="radio" name="sex" value="显示" title="" checked="">显示
                          <input type="radio" name="sex" value="隐藏" title="">隐藏
                        </div>
                      </div>

                    <div class="hr-line-dashed"></div>
                    <div class="form-group">
                        <div class="col-sm-4 col-sm-offset-3">
                            <input type="hidden" value="1">
                            <button class="btn btn-primary" type="submit">提交</button>
                            <button class="btn btn-default historygo" type="button">返回</button>
                        </div>
                    </div>
                </form>
            </div>
                
        </div>
    </div>

{/block}